<?php

/* @var $this yii\web\View */

use yii\helpers\Html;

$this->title = $title;
?>
<div class="site-index">
    <div class="body-content">
    <form method='post'>
        <h2 class="h24"><?php echo $this->title; ?></h2>
        <hr/>
        <div class="form-group">
            <label>原文：</label>
            <textarea  rows='10' name='ori' id='ori' class="form-control"><?php echo $jsOriStr; ?></textarea>
        </div>
        <div class="form-group">
            <input type='submit' class="btn btn-primary" value='提交'/>
            <input type='button' class="btn btn-danger " value='重置' onclick="document.querySelector('#ori').value='';"/>
        </div>
    </form>
        <div class="form-group">
            <label>密文：</label>
            <textarea  rows='10' class="form-control"><?php echo $decrypt; ?></textarea>
        </div>
</div>
</div>
